IQuaternaryList.GetItemsBySecondaryIndex(string, TIndexKey) method¶
Defined in
Type: IQuaternaryListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
IEnumerable<T> GetItemsBySecondaryIndex<TIndexKey>(string indexName, TIndexKey key) where TIndexKey : notnull
Summary: Retrieves all entities of type T that match the specified key in the given index.
Type parameters
| Name | Description |
|---|---|
TIndexKey | The type of the key used to query the index. Must be non-nullable. |
Parameters
| Name | Type | Description |
|---|---|---|
indexName | string (opens in a new tab) | The name of the index to query. Specifies which index to use for the lookup. |
key | TIndexKey | The key value to search for within the specified index. Must not be null. |
Returns: IEnumerable